<!---- SUI模板 on ${DATE} -->
<script ng-init="initCssAndJs()"></script>
<script ng-init="initCss('user-register-page/css/user-register.css')"></script>
<header class="bar bar-nav">
    <a class="icon icon-left pull-left button-nav" href="#/user-login"></a>

    <h1 class="title">邮箱注册</h1>
</header>
<div class="content" ng-init="">
    <input type="email" id="email" placeholder="请输入验证邮箱以接收验证码" ng-model="email" value="{{email}}"
           autofocus="autofocus"/>
    <input type="button" class="valibtn" ng-click="getVerificationCode()" value="获取验证码"/>
    <input type="number" id="num" ng-model="verificationCode" value="{{verificationCode}}" placeholder="验证码"/>
    <input type="password" id="psd" ng-model="password" placeholder="请输入密码"/>

    <p><a class="button button-fill" ng-click="emailRegister()">提交</a></p>
</div>
<div ng-init="suiMobileInit('user-register-page/js/user-register.js')"></div>